import { plugin, Super, AssociationApi } from '../../model/api/gameapi.js'
export class assAdminConfig extends plugin {
    constructor() {
        super(Super({
            rule: [
                {
                    reg: '^#宗门重置配置$',
                    fnc: 'developUpdata'
                }
            ]
        }))
    }
    developUpdata = async (e) => {
        if (!e.isMaster) {
            return
        }
        AssociationApi.createData.moveConfig({ choice: 'updata' })
        e.reply('重置成功')
        return
    }
}
